  <script src="__CDN__/assets/js/pc/amazeui.min.js"></script>
<div class="row-content am-cf">
	<div class="row">
		<div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
			<div class="widget am-cf">
				<div class="widget-head am-cf">
					<div class="widget-title am-fl">修改收货地址</div>
				</div>
				<div class="widget-body am-fr">
					<form action="" method="POST" id="editaddress" class="am-form tpl-form-line-form">
						{:token()}
						<div class="am-form-group">
							<label for="user-name" class="am-u-sm-3 am-form-label"style="padding: 0px;">收货人：</label>
							<div class="am-u-sm-9">
								<input type="text" name="consignee" value="{$info['consignee']}" style="float: left;">
							</div>
						</div>
						<div class="am-form-group">
							<label for="user-name" class="am-u-sm-3 am-form-label"style="padding: 0px;">联系电话：</label>
							<div class="am-u-sm-9">
								<input type="number" name="phone" value="{$info['phone']}" style="float: left;">
							</div>
						</div>
						<div class="am-form-group">
							<label for="user-name" class="am-u-sm-3 am-form-label"style="padding: 0px;">省：</label>
							<div class="am-u-sm-9">
								<input type="text" name="province" value="{$info['province']}" style="float: left;">
							</div>
						</div>
						<div class="am-form-group">
							<label for="user-name" class="am-u-sm-3 am-form-label"style="padding: 0px;">市：</label>
							<div class="am-u-sm-9">
								<input type="text" name="city" value="{$info['city']}" style="float: left;">
							</div>
						</div>
						<div class="am-form-group">
							<label for="user-name" class="am-u-sm-3 am-form-label"style="padding: 0px;">区：</label>
							<div class="am-u-sm-9">
								<input type="text" name="district" value="{$info['district']}" style="float: left;">
							</div>
						</div>
						<div class="am-form-group">
							<label for="user-name" class="am-u-sm-3 am-form-label"style="padding: 0px;">详细地址：</label>
							<div class="am-u-sm-9">
								<input type="text" name="detail" value="{$info['detail']}" style="float: left;">
							</div>	
						</div>
						<div class="am-form-group">
							<label for="user-phone" class="am-u-sm-3 am-form-label">是否设置为默认地址：</label>
							<div class="am-u-sm-9">
								<select name="default" data-am-selected="{searchBox: 0}" style="display: none;">
									<option {if condition="$info.default==1"} selected="selected" {/if} value="1">是</option>
									<option {if condition="$info.default==0"} selected="selected" {/if} value="0">否</option>
								</select>
																				
							</div>
						</div>
						<div class="am-form-group">
							<div class="am-u-sm-9 am-u-sm-push-3">
								<input type="hidden" id="infoidaddress" value="{$info.id}" style="float: left;">
								<button type="submit" class="am-btn am-btn-primary tpl-btn-bg-color-success">修改</button>
								<a href="javascript:;" id="deladdress"><button type="button" class="am-btn am-btn-danger tpl-btn-bg-color-success">删除</button></a>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
</div>
</div>
   